<template>
  <el-radio-group v-model="value" :style="options.style" :size="size">

    <el-radio v-for="item in options.radios" :label="item.label"/>
  </el-radio-group>
</template>

<script setup lang="ts">
  export type ButtonOptions = {
    options: {
      style?:any
      radios:Array<any>
    },
    size:string
  }
  const props = defineProps<ButtonOptions>()
  const options = props.options
  const size = props.size || 'default'
</script>

<style scoped>

</style>
